package com.milk.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.milk.dto.ShoppingCarDTO;
import com.milk.dto.ShoppingCarDeleteDTO;
import com.milk.entity.ShoppingCart;

import java.util.List;

public interface IShoppingCarService extends IService<ShoppingCart> {
    void add(ShoppingCarDTO dto);

    void deleteOne(Long id);

    void deleteById(ShoppingCarDeleteDTO dto);

    List<ShoppingCart> selectAll();

    void deleteAll();

}
